<include file="./Application/Home/View/Common/super_body_import.html" />
<header class="header_container_main inner_page <if condition=" !in_array($select, array( 'TLM019', 'TLM000', 'TLM020', 'TLM021', 'TLM022')) "></if>">
  <nav class="top_main_nav">
    <div class="top_nav_inner">
      <div class="top-left-index">
        <a class="index_logo" href="/"><img class="logo_link" src="__RESPATH__/images/{$select === 'TLM016' ? 'logo_noslogon' : 'index_logo'}.png" alt="微知-轻松一点 从心出发" /></a>
        <if condition="$select === 'TLM016'">
          <span class="text">{$_GET['edit_type'] == '1' ? '文章' : '图文'}编辑器</span>
        </if>
      </div>
      <ul class="nav_list {$select === 'TLM016' ? 'editor_nav_list' : ''}">
        <if condition="$select eq 'TLM016'">
          <li class="nav_item home_page_link no_bgcolor"><a class="parent_menu" target="_blank" href="/topic">话题</a></li>
          <li class="nav_item home_page_link"><a class="parent_menu" target="_blank" href="/my_collection">我的收藏</a></li>
          <li class="nav_item home_page_link"><a class="parent_menu" target="_blank" href="/my_mpnews">我的图文</a></li>
          <else/>
          <li class="nav_item home_page_link no_bgcolor"><a class="parent_menu" href="/">首页</a></li>
          <li class="nav_item material">
            <a class="text_inner">
              <!-- <span class="iconfont icon-hot hot_material"></span> -->
              <span class="parent_menu"><span class="text">发现</span></span>
            </a>
            <ul class="menu_type">
              <li><a href="/topic" _href="/topic" class="catch_link"><span class="text_link">话题</span></a></li>
              <li><a href="/search/articles" _href="/search/articles?from_nav=1" class="catch_link"><span class="text_link">文章</span></a></li>
              <li><a href="/search/images" _href="/search/images?from_nav=1" class="catch_link"><span class="text_link">图片</span></a></li>
              <li><a href="/search/account" _href="/search/account?from_nav=1" class="catch_link"><span class="text_link">账号</span></a></li>
              <!-- <li class="hide"><a href="/accountVerify/add_gather" target="_blank" class="catch_link"><span class="text_link">定制采集</span></a></li> -->
            </ul>
          </li>
          <li class="nav_item edit_article">
            <a class="text_inner">
              <span class="parent_menu"><span class="text">编辑</span></span>
            </a>
            <ul class="menu_type">
              <!-- <li><a href="javascript: void(0);" session="{$_SESSION['user_login']}" class="js_article_import"><span class="text_link">图文导入</span></a></li>
              <li class="js_title_diagnose_limit {$_SESSION['title_diagnose_limit'] ? '' : 'hide'}"><a href="/TitleDiagnose" target="_blank" class="catch_link"><span class="text_link">标题诊断</span></a></li>
               -->
              <li><a href="/edit_text" target="_blank"><span class="text_link">图文编辑器</span></a></li>
              <li><a href="/template" target="_blank"><span class="text_link">模板编辑器</span></a></li>
            </ul>
          </li>
          <li class="nav_item send_message">
            <a class="text_inner">
              <span class="parent_menu"><span class="text">传播</span></span>
            </a>
            <ul class="menu_type">
              <li><a rel="external nofollow" href="/sending" class="{$_SESSION['user_login'] == '' ? 'js_unlogin_forward' : ''} catch_link"><span class="text_link">多平台分发</span></a></li>
              <li><a rel="external nofollow" href="javascript: void(0);"><span class="text_link" style="opacity: .5">大咖通路（建设中）</span></a></li>
            </ul>
          </li>
          <li class="nav_item">
            <a class="text_inner">
              <span class="parent_menu"><span class="text">微知Hot</span></span>
            </a>
            <ul class="menu_type">
              <li><a rel="external nofollow" href="/accountVerify/add_gather" class="{$_SESSION['user_login'] == '' ? 'js_unlogin_forward' : ''} catch_link"><span class="text_link">定制采集</span></a></li>
              <li class="hide"><a rel="external nofollow" href="#"><span class="text_link">图片压缩</span></a></li>
              <li><a href="/smart_tag"><span class="text_link">智能标签</span></a></li>
              <li class="hide"><a rel="external nofollow" href="#"><span class="text_link">借势精灵</span></a></li>
              <li class="js_title_diagnose_limit {$_SESSION['title_diagnose_limit'] ? '' : 'hide'}"><a href="/title_diagnose" class="catch_link"><span class="text_link">标题诊断</span></a></li>
              <!-- <li><a href="/fixed/title_tactics" target="_blank" class="catch_link"><span class="text_link">取标题攻略</span></a></li> -->
            </ul>
          </li>
        </if>
        <div class="nav_top_list"></div>
      </ul>
      <div class="right_info">
        <if condition="$select eq 'TLM000'">
          <div class="notice_info">
            <ul class="gray">
              <li class="notice_item"><a href="{:U('/fixed/notice?v='.$newestNotice['version'])}" target="_blank">{$newestNotice['title']}</a></li>
            </ul>
          </div>
        </if>
        <div class="status status_outer {$_SESSION['user_login'] == '' ? '' : 'hide'}">
          <a href="javascript: void(0);" class="green js_header_login">请登录</a>
          <if condition="$select neq 'TLM016'">
            <a href="/register_page" class="gray register_page">注册</a>
          </if>
        </div>
        <div class="status status_enter {$_SESSION['user_login'] == '' ? 'hide' : ''}">
          <if condition="$select neq 'TLM016'">
            <div class="user_info_container" id="user_info_container">
              <a rel="external nofollow" href="/my_mpnews" class="user_info_simple">
                <img class="face_img js_face_img" src="{$_SESSION['head_img_url']|default='__RESPATH__/images/default_user_face.png'}" alt="用户头像" />
                <span class="user_nicename bw-ellipsis js_user_nickname" title="{$Think.session.user_nicename}">{$Think.session.user_nicename}</span>
                <span class="iconfont icon-xia icon_xia"></span>
              </a>
              <div class="user_info_detail js_menumark">
                <ul class="linkbox">
                  <!-- <li class="linkbox-item">
                    <a rel="external nofollow" href="#" class="text_link">我的动态</a>
                  </li>
                  <li class="linkbox-item">
                    <a rel="external nofollow" href="#" class="text_link">我的收藏</a>
                  </li> -->
                  <li class="linkbox-item">
                    <a rel="external nofollow" href="/my_mpnews" class="text_link">我的图文</a>
                  </li>
                  <li class="linkbox-item">
                    <a rel="external nofollow" href="/my_picture" class="text_link">我的图片</a>
                  </li>
                  <li class="linkbox-item">
                    <a rel="external nofollow" href="/my_template" class="text_link">我的模板</a>
                  </li>
                  <li class="linkbox-item">
                    <a rel="external nofollow" href="/accountVerify" class="text_link">我的采集</a>
                  </li>
                  <li class="linkbox-item">
                    <a rel="external nofollow" href="/my_message" class="text_link">我的消息</a>
                  </li>
                  <li class="linkbox-item">
                    <a rel="external nofollow" href="/sending_log" class="text_link">我的分发</a>
                  </li>
                  <li class="linkbox-item">
                    <a rel="external nofollow" href="/my_account?account_bind" class="js_oauth_modal text_link {$_SESSION['login_type'] == 'oauth' ? 'js_register_guide' : ''}">我的账号</a>
                  </li>
                  <li class="linkbox-item">
                    <a rel="external nofollow" href="/user_analyzing" class="js_oauth_modal text_link {$_SESSION['login_type'] == 'oauth' ? 'js_register_guide' : ''}">公号管理</a>
                  </li>
                </ul>
                <a rel="external nofollow" href="/user_logout?user_id={$Think.session.user_id}" class="logout">退出</a>
              </div>
            </div>
            <div id="user_notice" class="user_notice">
              <a rel="external nofollow" href="/notice" class="iconfont icon-tongzhi notice_icon" title="系统通知"></a>
              <span class="num" title="未读通知"></span>
              <div class="notice_newest">
                <div class="notice_newcont clearfix">
                  <span class="dot fl"></span>
                  <a href="/notice" class="notice_text fl"></a>
                </div>
                <span class="shut">&times;</span>
                <span class="arrow"></span>
              </div>
              <!-- <ul class="notice-list js_menumark">
                <li>
                  <a href="">评论</a>
                </li>
                <li>
                  <a href="">通知</a>
                </li>
                <li>
                  <a href="">留言</a>
                </li>
                <li>
                  <a href="">收藏</a>
                </li>
                <li>
                  <a href="">提醒</a>
                </li>
              </ul> -->
            </div>
            <else/>
            <a rel="external nofollow" href="/my_mpnews" class="user_info_lite">
              <span class="user_nicename bw-ellipsis js_user_nickname" title="{$Think.session.user_nicename}">{$Think.session.user_nicename}</span>
            </a>
          </if>
        </div>
        <if condition="$select eq 'TLM016'">
          <span class="home_split"></span>
          <a href="/" class="iconfont icon-home home_link" title="回到首页"></a>
        </if>
      </div>
    </div>
  </nav>
  <if condition="in_array($select, array('TLM019', 'TLM000', 'TLM020', 'TLM021', 'TLM022'))">
    <div class="header hide">
      <div class="header_inner">
        <div class="left_info">
          <a href="/"><img class="logo_link" src="__RESPATH__/images/index_logo.png" alt="微知-轻松一点 从心出发" /></a>
        </div>
        <!-- 搜索框移出 -->
      </div>
    </div>
  </if>
</header>

<div class="modal fade article_import_modal" data-backdrop="static" id="article_import" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">图文导入</h4>
      </div>
      <div class="modal-body">
        <p class="text_cell">
          <span class="text">导入方式</span>
          <select id="import_type" class="selectpicker" data-width="100px" data-size="8">
            <option value="wechat">URL导入</option>
            <option value="word">word文档</option>
          </select>
        </p>
        <div class="text_cell" data-show="wechat">
          <span class="text">文章链接</span>
          <input type="text" name="URL" class="input_url" id="input_url" placeholder="请输入文章详情页网页链接，包含http(s)://" value="" />
          <p class="gray art_url_src">目前支持微信公众号、今日头条、百度百家、网易新闻、一点资讯、简书等文章，更多平台敬请期待</p>
        </div>
        <div class="text_cell hide" data-show="word">
          <span class="text">选择文件</span>
          <button type="button" class="btn btn-success js_browse_file">浏览</button>
          <span class="gray sub_file_name bw-ellipsis">点击“浏览”选择文件</span>

          <div class="hide">
            <form enctype="multipart/form-data" id="data_sub_frm" target="iframe_word" method="post">
              <input type="file" name="file" id="doc_file" accept="application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document">
              <input type="hidden" name="m" value="is" />
            </form>
            <iframe id="iframe_word"></iframe>
            <form action="/editText?edit_type=1" method="post">
              <input type="hidden" name="doc_text" value="" id="doc_text">
            </form>
          </div>
        </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-success js_OK">导入</button>
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
      </div>
    </div>
  </div>
</div>
<include file="./Application/Home/View/Common/login_dialog.html" />

<include file="./Application/Home/View/Common/constants.html" />

<div class="modal fade" data-backdrop="static" id="register-guide" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <p class="skip" align="right" data-dismiss="modal">暂不绑定</p>
      <div class="spinner">
        <div class="bounce1"></div>
        <div class="bounce2"></div>
        <div class="bounce3"></div>
      </div>
      <iframe class="guide_frame" _src="/register_guide" width="100%" height="460" frameborder="0" scrolling="no"></iframe>
    </div>
  </div>
</div>
<!-- TODO move it downmost -->
<!-- <script async src="http://www.sobot.com/chat/pc/pc.min.js?sysNum=6ae320984fde4ce589e2b002182ac3f7" id="zhichiload" ></script> -->
<!-- 通知插件 -->
<script type="text/javascript" src="https://cdn.goeasy.io/goeasy.js"></script>

<div class="event_wrapper"></div>